<?php
/* @var $this AppuserController */
/* @var $model Appuser */

$this->breadcrumbs=array(
	Yii::t('base','Appusers')=>array('index'),
	$model->id,
);
?>

<h1><?php echo Yii::t('base','View Appuser')?> #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		//'userid',
		array('name'=>'userid','headerHtmlOptions'=>array('style'=>'width:8%'),'value'=>User::model()->getUserName($model->userid)),
		'send_id',
		'imei',
		//'platform',
		array('name'=>'platform','headerHtmlOptions'=>array('style'=>'width:10%'),'value'=>Application::model()->getplatformName($model->platform)),//0表示android,1表示ios	
		//'app_id',
		array('name'=>'app_id','headerHtmlOptions'=>array('style'=>'width:20%'),'value'=>Application::model()->getApplicationName($model->app_id)),
	),
)); ?>
